package com.wanxi.test;

public class CountDown {
    public static void main(String[] args) throws InterruptedException {
        /**
         * 1.从10开始
         * 2.到0结束
         * 3.每次减一
         * 4.打印
         */
        for (int i = 10; i > 0; i--) {
            Thread.sleep(1000);
            System.out.println(i);
        }
    }
}
